//引用封装的组件
import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import AxiosUrl from './axios'
import router from './router';
import axios from 'axios';
Vue.config.productionTip = false
const token = localStorage.getItem('token');
axios.defaults.headers.common['Authorization'] = `Bearer ${token}`;
Vue.use(AxiosUrl);
Vue.use(ElementUI);
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')